package org.insidesource.flexbugs.dao;

import java.util.List;

import org.insidesource.flexbugs.model.Restaurant;

public interface RestaurantDao
{
	public void save(Restaurant restaurant);
	public Restaurant findById(long id);
	public Restaurant update(Restaurant restaurant);
	public void delete(Restaurant restaurant);
	
	public List<Restaurant> findByName(String name);
	public List<Restaurant> findByStreetName(String streetName);
	public List<Restaurant> findByEntreeNameLike(String entreeName);
	public List<Restaurant> findRestaurantsWithVegetarianEntrees();
}
